package com.goodving.guli.activity;

import android.content.Context;
import android.text.TextUtils;

import com.goodving.guli.bt.Utils;
import com.goodving.guli.bt.profile.scale.GuliLog;
import com.goodving.guli.bt.profile.scale.XMBLEManager;

/**
 * Created by john on 2015/11/26.
 */
public final class C1757t {
    private C1757t() {
    }

    public static boolean m13468a(Context context) {
        return !TextUtils.isEmpty(Utils.m8070g(context));
    }

    public static boolean m13469b(Context context) {
        return !C1757t.m13468a(context);
    }

    public static boolean m13470c(Context context) {
        if (!XMBLEManager.m25154a(context)) {
            return false;
        }
        String a = Utils.m7982a(context, "ro.miui.ui.version.name");
        String a2 = Utils.m7982a(context, "ro.miui.ui.version.code");
        GuliLog.tracePrintInfo("DeviceCompatibility", "isSupportUnlockScreenByBracelet:miui version name=" + a + ",miui version code=" + a2);
        return (a2 == null || a2.length() == 0 || a == null || a.length() == 0 || Integer.valueOf(a2).intValue() < 3) ? false : true;
    }
}